package cn.kgc.spring.service.impl;

import cn.kgc.spring.annotatios.AutoWired;
import cn.kgc.spring.mapper.UserMapper;
import cn.kgc.spring.service.UserService;

/**
 * @author 课工场
 * @date 2024/11/4
 * @description
 */
public  class NewUserServiceImpl implements UserService {

    @AutoWired
    private UserMapper userMapper;

    @Override
    public Boolean removeUser(Integer id) {
        System.out.println("NewUserServiceImpl");
        Integer line = userMapper.deleteUser(id);
        return line==1;
    }
}
